package ooday01;
import ooday02.Foo;
//导入了ooday02包中的Foo类
//import ooday02.*;
//导入了ooday02包中的所有的类
public class CarTest {
    public static void main(String[] args) {
        Car car1 =new Car();
        car1.brand="奔驰";
        car1.color="黑";
        car1.price=80;
        car1.start();
        car1.run();
        car1.stop();
        System.out.println("-------");
        Car car2=new Car("奥迪","银",40);
        car2.start();
        car2.run();
        car2.stop();

   Foo f=new Foo();
    }
}
